

/**
 * @author : cww
 * @date : 2020/12/29 10:55
 */
public class ObjectLogAdapter implements Log {
    private TargetLog targetLog;
    public ObjectLogAdapter(TargetLog targetLog){
        this.targetLog = targetLog;
    }
    @Override
    public void writeLog(String txt) {
        this.targetLog.newWriteLog(txt);
    }
}
